/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package vo;

import entities.Contest;
import java.util.Date;

/**
 *
 * @author sbaldrich
 */
public class VOContest {

    public VOContest() {
    }

    private Integer idContest;
    private String contestCode;
    private String name;
    private Date start;
    private Date end;

    public VOContest(Contest c )
    {
        this.setContestCode(c.getContestCode());
        this.setIdContest(c.getIdContest());
        this.setName(c.getName());
        this.setStart(c.getStart());
        this.setEnd(c.getEnd());
    }

    public String getContestCode()
    {
        return contestCode;
    }

    public void setContestCode(String contestCode)
    {
        this.contestCode = contestCode;
    }

    public Date getEnd()
    {
        return end;
    }

    public void setEnd(Date end)
    {
        this.end = end;
    }

    public Integer getIdContest()
    {
        return idContest;
    }

    public void setIdContest(Integer idContest)
    {
        this.idContest = idContest;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public Date getStart()
    {
        return start;
    }

    public void setStart(Date start)
    {
        this.start = start;
    }
}
